package com.snake.springboot.authority.api.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotEmpty;

/**
 * 类 {@code VerifyImageModel}  <br> .
 * <p>校验图片模型
 * <p>创建时间：2024/06/07
 *
 * @author Huang.yj
 */
@ApiModel("校验图片模型")
public class VerifyImageModel {

    @ApiModelProperty("滑块图(PNG)")
    private String slidingImage;

    @ApiModelProperty("背景图(JPG)")
    private String originalImage;

    @ApiModelProperty(value = "X轴值", required = true)
    @NotEmpty(message = "X轴值不可为空")
    private Double xWidth;

    @ApiModelProperty("Y轴值")
    private Double yHeight;

    @ApiModelProperty(value = "唯一id", required = true)
    @NotEmpty(message = "唯一id不可为空")
    private String uniqueId;

    public String getSlidingImage() {
        return slidingImage;
    }

    public void setSlidingImage(String slidingImage) {
        this.slidingImage = slidingImage;
    }

    public String getOriginalImage() {
        return originalImage;
    }

    public void setOriginalImage(String originalImage) {
        this.originalImage = originalImage;
    }

    public Double getXWidth() {
        return xWidth;
    }

    public void setXWidth(Double xWidth) {
        this.xWidth = xWidth;
    }

    public Double getYHeight() {
        return yHeight;
    }

    public void setYHeight(Double yHeight) {
        this.yHeight = yHeight;
    }

    public String getUniqueId() {
        return uniqueId;
    }

    public void setUniqueId(String uniqueId) {
        this.uniqueId = uniqueId;
    }
}
